import random
li=[];
for i in range(20):
	li.append(random.randint(0,10));
print(li);
a={};
def count(x):
	global a;
	if(a.get(x)==None):
		a[x]=1;
	else:
		a[x]+=1;
	return x;

r=map(count,li);
list(r);
print(a);
	